#if !defined(AFX_EJERFORHOLDFORM_H__5283E47D_1F99_408E_850C_0F98E5E27BB5__INCLUDED_)
#define AFX_EJERFORHOLDFORM_H__5283E47D_1F99_408E_850C_0F98E5E27BB5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EjerforholdForm.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CEjerforholdForm form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

class CEjerforholdForm : public CFormView
{
protected:
	CEjerforholdForm();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CEjerforholdForm)

// Form Data
public:
	//{{AFX_DATA(CEjerforholdForm)
	enum { IDD = IDD_EJERFORHOLDFORM_FORM };
	CComboBox	m_by;
	CListBox	m_ledere;
	CComboBox	m_adresseType;
	CString	m_firma;
	CString	m_adresse;
	CString	m_epost;
	CString	m_postNr;
	CString	m_telefax;
	CString	m_telefon;
	CString	m_guid;
	CString	m_leder;
	//}}AFX_DATA

// Attributes
public:

// Operations
public:
	void OnInitialUpdate();
	void OnRyd();
	void OnSlet();
	void OnGem();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CEjerforholdForm)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CEjerforholdForm();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CEjerforholdForm)
	afx_msg void OnKillfocusEditFirmaPostnr();
	afx_msg void OnKillfocusComboFirmaBy();
	afx_msg void OnDblclkListLedere();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	EBASDLLLib::IEnumEjerforholdPtr m_pEnumEjerforhold;
	EBASDLLLib::IEnumPostNummerPtr m_pEnumPostNummer;
	EBASDLLLib::IEnumAdresseTypePtr m_pEnumAdresseType;
	EBASDLLLib::IEnumAdressePtr m_pEnumAdresse;

	EBASDLLLib::IAdressePtr m_pAdresse;
	EBASDLLLib::IEjerforholdPtr m_pEjerforhold;

	friend CEBASAppApp;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_EJERFORHOLDFORM_H__5283E47D_1F99_408E_850C_0F98E5E27BB5__INCLUDED_)
